package com.hsqn.service.impl;

import com.hsqn.entity.MealOrder;
import com.hsqn.mapper.MealOrderMapper;
import com.hsqn.service.MealOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MealOrderServiceImpl implements MealOrderService {
    @Autowired
    private MealOrderMapper mealOrderMapper;
    @Override
    public void insertMealOrder(MealOrder mealOrder) {
        mealOrderMapper.insertMealOrder(mealOrder);
    }

    @Override
    public void updateCompleteInfo(Integer orderStatus) {
        mealOrderMapper.updateCompleteInfo(orderStatus);
    }
}
